Skip to content

fix(build): the Windows engine freeze runs again (0.15.1) - #21

Merged
nodemode-ai merged 2 commits into
mainfrom
fix/windows-freeze-0.15.1
Dec 1, 2026
Merged

nodemode-ai merged 2 commits into
mainfrom
fix/windows-freeze-0.15.1

Conversation

@nodemode-ai

Copy link
Copy Markdown
Contributor

fix(build): the Windows engine freeze runs again (0.15.1)

Summary

  • Windows builds fail at the engine freeze with pyinstaller: error: unrecognized arguments: ...\backend\formtools_engine.py, the same fault seen in FormAT, FormSubstrate and FormLit.
  • Cause: in setup/freeze_backend.bat the --add-data value for THIRD-PARTY-NOTICES.txt had no space before --paths, so cmd passed ...;.--paths as one argument. PyInstaller then took the backend folder as the script and rejected the real engine script.
  • Fix: one space. macOS and Linux use their own freeze script, which was never affected.
  • Release 0.15.1. 0.15.0 was never published, so this release carries it too.

Commits

  • fix(build): the Windows engine freeze passes the notices file and the next option as two arguments
  • chore(release): version 0.15.1 (0.15.1), the Windows engine freeze runs again

Version

v0.15.1 (release commit is last). Bumped the same sites as 0.15.0: AGENTS.md and CLAUDE.md (the Stage line), the README badge, backend/app/init.py, frontend/package.json, both fields of frontend/package-lock.json, frontend/src/version.ts, setup/cli.py, setup/mcp_stdio.py, setup/mcpb/manifest.json, src-tauri/Cargo.toml, its Cargo.lock entry, src-tauri/tauri.conf.json and CHANGELOG.md. The demo was rebuilt with npm run demo; only the version string in demo/assets/demo.js changed.

Checks

  • The fixed freeze line, split into arguments the way cmd does and given to PyInstaller 6.22.3's own argument parser: the only script is backend\formtools_engine.py and nothing is unrecognized. The line from main: the backend folder is the script and the engine script is unrecognized.
  • npm run typecheck: passed. npx vitest run: 257 tests passed.
  • ./formtools mcpb check: the manifest is valid and matches package.json.
  • python3 setup/notices.py --check: the notices cover everything that ships.

Not run: a Windows build, ./formtools agents check (the engine packages are not installed where this ran), the engine tests, npm run build, CI.

Merging

Merge with a merge commit so each commit and its signature stays. Do not squash.

The short hashes change when the commits are signed.

… next option as two arguments

A missing space after the THIRD-PARTY-NOTICES.txt --add-data value joined it
to --paths in cmd, so PyInstaller took the wrong word as the script
and stopped with "unrecognized arguments" on the engine script. Windows
builds failed at the freeze step; macOS and Linux use their own freeze
script, which was never affected.
…ns again

The version moves to 0.15.1 in backend/app/__init__.py, frontend/package.json, frontend/package-lock.json, frontend/src/version.ts, setup/cli.py, setup/mcp_stdio.py, setup/mcpb/manifest.json, src-tauri (Cargo.toml, Cargo.lock, tauri.conf.json), the README badge and the Stage line of the two agent guide files at the repository root, each by hand. CHANGELOG.md describes 0.15.1, which also carries the unpublished 0.15.0. The browser demos are rebuilt with npm run demo; only demo/assets/demo.js changed (the version string). Ran on Linux: tsc --noEmit (clean), npm run demo, vitest (257 passed), ./formtools mcpb check and setup/notices.py --check (clean). Not run: ./formtools agents check (the engine dependencies are not installed here), the engine tests, the desktop shell, macOS and Windows.
@nodemode-ai
nodemode-ai requested a review from gbarnai as a code owner December 1, 2026 02:22
@nodemode-ai
nodemode-ai merged commit f012033 into main Dec 1, 2026
6 checks passed
@nodemode-ai
nodemode-ai deleted the fix/windows-freeze-0.15.1 branch December 1, 2026 02:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant